.class final Lcom/ninesky/browser/view/bh;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnTouchListener;


# instance fields
.field private final a:Z

.field private b:Landroid/webkit/WebView;

.field private c:Lcom/ninesky/browser/BrowserActivity;

.field private d:Z

.field private e:Lcom/ninesky/widget/l;


# direct methods
.method public constructor <init>(Landroid/webkit/WebView;Lcom/ninesky/browser/BrowserActivity;)V
    .locals 2

    const/4 v0, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean v0, p0, Lcom/ninesky/browser/view/bh;->a:Z

    iput-boolean v0, p0, Lcom/ninesky/browser/view/bh;->d:Z

    iput-object p1, p0, Lcom/ninesky/browser/view/bh;->b:Landroid/webkit/WebView;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/ninesky/browser/view/bh;->d:Z

    iput-object p2, p0, Lcom/ninesky/browser/view/bh;->c:Lcom/ninesky/browser/BrowserActivity;

    new-instance v0, Landroid/widget/ViewFlipper;

    iget-object v1, p0, Lcom/ninesky/browser/view/bh;->c:Lcom/ninesky/browser/BrowserActivity;

    invoke-direct {v0, v1}, Landroid/widget/ViewFlipper;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p0}, Landroid/widget/ViewFlipper;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/view/bh;Lcom/ninesky/widget/l;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/bh;->e:Lcom/ninesky/widget/l;

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/view/bh;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/ninesky/browser/view/bh;->d:Z

    return v0
.end method

.method static synthetic b(Lcom/ninesky/browser/view/bh;)Lcom/ninesky/browser/BrowserActivity;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/bh;->c:Lcom/ninesky/browser/BrowserActivity;

    return-object v0
.end method

.method static synthetic c(Lcom/ninesky/browser/view/bh;)Lcom/ninesky/widget/l;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/bh;->e:Lcom/ninesky/widget/l;

    return-object v0
.end method

.method static synthetic d(Lcom/ninesky/browser/view/bh;)Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/bh;->c:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "clipboard"

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/text/ClipboardManager;

    invoke-virtual {p0}, Landroid/text/ClipboardManager;->hasText()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Landroid/text/ClipboardManager;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic e(Lcom/ninesky/browser/view/bh;)Landroid/webkit/WebView;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/bh;->b:Landroid/webkit/WebView;

    return-object v0
.end method

.method static synthetic f(Lcom/ninesky/browser/view/bh;)V
    .locals 1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/view/bh;->d:Z

    return-void
.end method


# virtual methods
.method public final a()V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/bh;->b:Landroid/webkit/WebView;

    new-instance v1, Lcom/ninesky/browser/view/k;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/k;-><init>(Lcom/ninesky/browser/view/bh;)V

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method public final onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method
